package com.Rolin.wss.model;

public class FlightBO {
    private Integer flight_id;
    private String flight_no;
    private FlightTypeVO flight_type;
    private String flight_start;
    private  String flight_end;
    private String flight_time;
    private Float flight_price;
    private Integer flight_isfly;

    public FlightBO(Integer flight_id, String flight_no, FlightTypeVO flight_type, String flight_start, String flight_end, String flight_time, Float flight_price, Integer flight_isfly) {
        this.flight_id = flight_id;
        this.flight_no = flight_no;
        this.flight_type = flight_type;
        this.flight_start = flight_start;
        this.flight_end = flight_end;
        this.flight_time = flight_time;
        this.flight_price = flight_price;
        this.flight_isfly = flight_isfly;
    }

    public FlightBO() {
    }

    @Override
    public String toString() {
        return "FlightBO{" +
                "flight_id=" + flight_id +
                ", flight_no=" + flight_no +
                ", flight_type=" + flight_type.toString() +
                ", flight_start='" + flight_start + '\'' +
                ", flight_end='" + flight_end + '\'' +
                ", flight_time='" + flight_time + '\'' +
                ", flight_price=" + flight_price +
                ", flight_isfly=" + flight_isfly +
                '}';
    }

    public Integer getFlight_id() {
        return flight_id;
    }

    public void setFlight_id(Integer flight_id) {
        this.flight_id = flight_id;
    }

    public String getFlight_no() {
        return flight_no;
    }

    public void setFlight_no(String flight_no) {
        this.flight_no = flight_no;
    }

    public FlightTypeVO getFlight_type() {
        return flight_type;
    }

    public void setFlight_type(FlightTypeVO flight_type) {
        this.flight_type = flight_type;
    }

    public String getFlight_start() {
        return flight_start;
    }

    public void setFlight_start(String flight_start) {
        this.flight_start = flight_start;
    }

    public String getFlight_end() {
        return flight_end;
    }

    public void setFlight_end(String flight_end) {
        this.flight_end = flight_end;
    }

    public String getFlight_time() {
        return flight_time;
    }

    public void setFlight_time(String flight_time) {
        this.flight_time = flight_time;
    }

    public Float getFlight_price() {
        return flight_price;
    }

    public void setFlight_price(Float flight_price) {
        this.flight_price = flight_price;
    }

    public Integer getFlight_isfly() {
        return flight_isfly;
    }

    public void setFlight_isfly(Integer flight_isfly) {
        this.flight_isfly = flight_isfly;
    }
}
